package io.jpress.core.flowable;

import java.io.Serializable;

/**
 * 待办事项的操作按钮
 */
public class FlowTodoItemAction implements Serializable {

    /**
     * 文字内容
     */
    private String text;

    /**
     * 传入 Action 的值，也是 {@link io.jpress.commons.flowable.FlowConsts 定义的值}
     */
    private String value;

    public FlowTodoItemAction() {
    }

    public FlowTodoItemAction(String text, String value) {
        this.text = text;
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
